﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;

namespace CoreShop.Model
{
    /// <summary>
    /// 打印机
    /// </summary>
    public class corecmsprintinfo
    {
        /// <summary>
        /// 序列
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
        public Int64 id { get; set; }

        /// <summary>
        /// 总店id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "corpId", IsNullable = true)]
        public Int32 corpId { get; set; }

        /// <summary>
        /// 门店id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "storeId", IsNullable = true)]
        public Int32 storeId { get; set; }

        /// <summary>
        /// 打印机名称
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "printName", IsNullable = true)]
        public String printName { get; set; }

        /// <summary>
        /// 打印机类型（1热敏；2标签；3针式）
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "printType", IsNullable = true)]
        public Int32 printType { get; set; }

        /// <summary>
        /// ip地址
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "ipAddress", IsNullable = true)]
        public String ipAddress { get; set; }

        /// <summary>
        /// 品牌（1.美团；2芯烨；3佳博；4新北洋；5爱普生；6斯普瑞特；0通用）
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "brand", IsNullable = true)]
        public Int32 brand { get; set; }

        /// <summary>
        /// 纸张宽度
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "paperWidth", IsNullable = true)]
        public String paperWidth { get; set; }

        /// <summary>
        ///  打印方式（1文字；2图片）
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "way", IsNullable = true)]
        public Int32 way { get; set; }

        /// <summary>
        ///  蜂鸣次数
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "buzzingCount", IsNullable = true)]
        public Int32 buzzingCount { get; set; }

        /// <summary>
        ///  蜂鸣等级
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "buzzingType", IsNullable = true)]
        public Int32 buzzingType { get; set; }

        /// <summary>
        ///  走纸行数
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "gopaperRows", IsNullable = true)]
        public Int32 gopaperRows { get; set; }

        /// <summary>
        ///  重试次数
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "retryCount", IsNullable = true)]
        public Int32 retryCount { get; set; }
    }
}
